// routes/poi.js
const express = require('express');
const router = express.Router();
const { getAllPOIs } = require('../controllers/poiController');
router.get('/poi', getAllPOIs);

const { searchPOIs } = require('../controllers/poiController');
router.get('/poi/search', searchPOIs);

module.exports = router;
